﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="addpaper.aspx.cs" Inherits="OnlineTestUI.BackManager.addpaper" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <script type="text/javascript" src="My97DatePicker/WdatePicker.js"></script>
</head>
<body>
    <form id="form1" runat="server">
        <div>
            <f:PageManager ID="PageManager1"  runat="server"></f:PageManager>
            <f:Form Width="900px" BodyPadding="5px" ID="Form2" LabelWidth="100px" EnableFrame="true" EnableCollapse="true"
                runat="server" Title="添加新试卷" ShowBorder="false">
                <Rows>
                    <f:FormRow ColumnWidths="50% 50%">
                        <Items>
                            <f:TextBox ID="tbPapername" runat="server" Label="试卷名" Text=""></f:TextBox>

                        </Items>
                    </f:FormRow>
                    <f:FormRow ColumnWidths="50% 50%">
                        <Items>
                            <f:TextBox ID="tbDescription" runat="server" Label="简介" Text=""></f:TextBox>

                        </Items>
                    </f:FormRow>
                    <f:FormRow ColumnWidths="50% 50%">
                        <Items>
                            <f:RadioButtonList ID="rblStatus" runat="server" Label="状态">
                                <f:RadioItem Text="允许其他老师查看并编辑" Value="7" Selected="true" />
                                <f:RadioItem Text="允许其他老师查看" Value="3" />
                                <f:RadioItem Text="只允许自己查看并编辑" Value="1" />
                            </f:RadioButtonList>
                        </Items>
                    </f:FormRow>
                    <f:FormRow ColumnWidths="50% 50%">
                        <Items>
                            <f:DatePicker ID="StartDatePicker" runat="server" Label="开始日期"></f:DatePicker>
                            <f:TimePicker ID="StartTimePicker" runat="server" Label="时间" Increment="30"></f:TimePicker>
                        </Items>
                    </f:FormRow>
                    <f:FormRow ColumnWidths="50% 50%">
                        <Items>
                            <f:DatePicker ID="EndDatePicker" runat="server" Label="结束日期"></f:DatePicker>
                            <f:TimePicker ID="EndTimePicker" runat="server" Label="时间" Increment="30"></f:TimePicker>
                        </Items>
                    </f:FormRow>
                    <f:FormRow ColumnWidths="50% 50%">
                        <Items>
                            <f:DropDownList ID="ddlPeople" runat="server" Label="考试对象">
                                <f:ListItem  Text="所有人" Value="0"/>
                                <f:ListItem Text ="仅激活的学生" Value ="1" />
                            </f:DropDownList>
                        </Items>
                    </f:FormRow>
                    <f:FormRow ColumnWidths="50% 50%">
                        <Items>
                            <f:TextBox ID="tbChoiceNum" runat="server" Label="选择题数目" Text=""></f:TextBox>

                        </Items>
                    </f:FormRow>
                    <f:FormRow ColumnWidths="50% 50%">
                        <Items>
                            <f:TextBox ID="tbChoiceScore" runat="server" Label="选择题分数" Text=""></f:TextBox>

                        </Items>
                    </f:FormRow>
                    <f:FormRow ColumnWidths="50% 50%">
                        <Items>
                            <f:TextBox ID="tbCompletionNum" runat="server" Label="填空题数目" Text=""></f:TextBox>

                        </Items>
                    </f:FormRow>
                    <f:FormRow ColumnWidths="50% 50%">
                        <Items>
                            <f:TextBox ID="tbCompletionScore" runat="server" Label="填空题分数" Text=""></f:TextBox>

                        </Items>
                    </f:FormRow>
                    <f:FormRow ColumnWidths="50% 50%">
                        <Items>
                            <f:TextBox ID="tbTofNum" runat="server" Label="判断题数目" Text=""></f:TextBox>

                        </Items>
                    </f:FormRow>
                    <f:FormRow ColumnWidths="50% 50%">
                        <Items>
                            <f:TextBox ID="tbTofScore" runat="server" Label="判断题分数" Text=""></f:TextBox>

                        </Items>
                    </f:FormRow>
                    <f:FormRow ColumnWidths="50% 50%">
                        <Items>
                            <f:TextBox ID="tbShortNum" runat="server" Label="简答题数目" Text=""></f:TextBox>

                        </Items>
                    </f:FormRow>
                    <f:FormRow ColumnWidths="50% 50%">
                        <Items>
                            <f:TextBox ID="tbShortScore" runat="server" Label="简答题分数" Text=""></f:TextBox>

                        </Items>
                    </f:FormRow>
                    <f:FormRow ColumnWidths="50% 50%">
                        <Items>
                            <f:TextBox ID="tbDifficulty" runat="server" Label="难度系数" Text=""></f:TextBox>

                        </Items>
                    </f:FormRow>
                    <f:FormRow ColumnWidths="50% 50%">
                        <Items>
                            <f:TextBox ID="tbKPCoverage" runat="server" Label="知识点覆盖度" Text=""></f:TextBox>

                        </Items>
                    </f:FormRow>
                    <f:FormRow ColumnWidths="50% 50%">
                        <Items>
                            <f:Tree ID="treePointList" runat="server" AutoScroll="true" EnableArrows="true" Title="Tree" Collapsed="false" OnNodeCheck="TreePointList_NodeCheck"></f:Tree>

                        </Items>
                    </f:FormRow>
                    <f:FormRow>
                        <Items>
                            <f:Panel ID="Panel1" runat="server" ShowBorder="false"
                                ShowHeader="false">
                                <Items>
                                    <f:Button runat="server" Text="生成" CssClass="inline" ValidateForms="Form2"
                                        ID="btnSubmitForm1" OnClick="BtAdd_Click">
                                    </f:Button>
                                </Items>
                            </f:Panel>
                        </Items>
                    </f:FormRow>
                </Rows>
            </f:Form>
            
        </div>
    </form>
</body>
</html>
